const express = require("express")
const router = express.Router()

router.get("/", require("./api/home"))
router.get("/search", require("./api/search"))
router.post("/convert_speed", require("./api/convert_speed"))
router.get("/del_video", require("./api/del_video"))
router.post("/setting", require("./api/setting").SaveSetting)
router.get("/setting", require("./api/setting").GetSetting)
router.post("/transcoding", require("./api/transcoding"))
router.post("/clip_video", require("./api/clip_video"))
router.post("/compress_video", require("./api/compress_video"))
router.post("/slice_video", require("./api/slice_video"))
router.post("/merge_video", require("./api/merge_video"))
router.post("/break_video", require("./api/break_video"))
router.post("/decrypt_video", require("./api/decrypt_video"))

module.exports = router